package com.wzz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("pr_image")
public class ImageAttachment {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField("`key`")
    private String key;

    private String path;

    private String name;

    private Long size;

    private String mediaType;

    private String suffix;

    private Integer height;

    private Integer width;

    private Date createTime;

}